﻿using UnityEngine;
using System.Collections;

public enum LevelScore
{
	Perfect,
	normal,
	fail,
}

public class PlayerScore {
	private static int score = 0;
	public static int Score
	{
		set{score = value;}
		get{return score;}
	}

	public static LevelScore GetScore()
	{
		if (score >= 14){
			return LevelScore.Perfect;
		}else if (score >= 10 && score < 14){
			return LevelScore.normal;
		}else if (score < 10){
			return LevelScore.fail;
		}

		return LevelScore.fail;
	}
}
